﻿/*----------------------------------------------------------------
    // Copyright (C) 2009 江苏华招网
    // 版权所有。 
    // 作者：周司徒 
    //
    // 文件名：ReturnMerchandise.cs
    // 文件功能描述：有关View_CompanyInterface视图实体类
    // 创建标识：周司徒2009-05-13 09:49:08
    //
    // 修改标识：
    // 修改描述：
    //
    // 修改标识：
    // 修改描述：
    //
    // 审核人：
    // 审核时间：
    // 审核说明：
 //----------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Text;
using HZ.DrugTrade.Model.Enum;

namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// View_ReturnMerchandise明细视图实体类
    /// </summary>
    [Serializable]
    public class ReturnMerchandiseDetail :IQuery
    {



        /// <summary>
        /// 建单时间
        /// </summary>
        public System.DateTime? ReturnTime
        {
            get;
            set;
        }

        /// <summary>
        /// 建单时间（结束）
        /// </summary>
        public System.DateTime? ReturnTimeTo
        {
            get;
            set;
        }

        /// <summary>
        /// 建单时间（开始）
        /// </summary>
        public System.DateTime? ReturnTimeFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构地区
        /// </summary>
        public string AreaID
        {
            get;
            set;
        }

        /// <summary>
        /// 退货单ID
        /// </summary>
        public string ReturnSerialID
        {
            get;
            set;
        }

        /// <summary>
        /// 退货单名称
        /// </summary>
        public string ReturnName
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构ID
        /// </summary>
        public string HospitalID
        {
            get;
            set;
        }

        /// <summary>
        /// 退货单总价
        /// </summary>
        public decimal? ReturnAmount
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构名
        /// </summary>
        public string HospitalName
        {
            get;
            set;
        }

        /// <summary>
        /// 明细ID
        /// </summary>
        public string ReturnSerialDetailID
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录ID
        /// </summary>
        public string ProcureCatalogID
        {
            get;
            set;
        }

        /// <summary>
        /// 批号
        /// </summary>
        public string BatchRecordID
        {
            get;
            set;
        }

        /// <summary>
        /// 确认状态(0未确认， 1确认 2拒绝)
        /// </summary>
        public int? ReturnState
        {
            get;
            set;
        }

        /// <summary>
        /// 配送企业编号
        /// </summary>
        public string CompanyID
        {
            get;
            set;
        }

        /// <summary>
        /// 配送企业名称
        /// </summary>
        public string CompanyName
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName
        {
            get;
            set;
        }

        /// <summary>
        /// 剂型名称
        /// </summary>
        public string MedicineModelName
        {
            get;
            set;
        }

        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc
        {
            get;
            set;
        }

        /// <summary>
        /// 转换系数
        /// </summary>
        public int? Factor
        {
            get;
            set;
        }

        /// <summary>
        /// 包装
        /// </summary>
        public string Pack
        {
            get;
            set;
        }

        /// <summary>
        /// 拼音码
        /// </summary>
        public string PinyinCode
        {
            get;
            set;
        }

        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode
        {
            get;
            set;
        }

        /// <summary>
        /// 采购项目名称
        /// </summary>
        public string ProjectName
        {
            get;
            set;
        }

        public string ProjectID
        {
            get;
            set;
        }

        /// <summary>
        /// 生产企业名称
        /// </summary>
        public string CompanyName_SC
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称称
        /// </summary>
        public string GoodsName
        {
            get;
            set;
        }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int? ReturnCount
        {
            get;
            set;
        }


        /// <summary>
        /// 退货数量（小于）
        /// </summary>
        public int? ReturnCountTo
        {
            get;
            set;
        }


        /// <summary>
        /// 退货数量（大于）
        /// </summary>
        public int? ReturnCountFrom
        {
            get;
            set;
        }



        /// <summary>
        /// 退货价格
        /// </summary>
        public decimal? RetrunPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 退货价格（小于）
        /// </summary>
        public decimal? RetrunPriceTo
        {
            get;
            set;
        }

        /// <summary>
        /// 退货价格（大于）
        /// </summary>
        public decimal? RetrunPriceFrom
        {
            get;
            set;
        }
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }
        /// <summary>
        /// 退货单状态：0(空单) 1 (未提交) 2(已提交) 3(已完成)
        /// </summary>
        public int? ReturnOrderStatus { get; set; }
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}